package cn.qidisoft.edu.hzjt.dao;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import cn.qidisoft.edu.hzjt.model.ZxjStudentNationalGrant;

public interface ZxjStudentNationalGrantMapper {
    public List<ZxjStudentNationalGrant> queryPageList(ZxjStudentNationalGrant data,
                                                       RowBounds rowBounds);

    public int queryPageListcount(ZxjStudentNationalGrant data);

    public List<ZxjStudentNationalGrant> queryList(ZxjStudentNationalGrant data);

    public ZxjStudentNationalGrant queryByPK(ZxjStudentNationalGrant data);

    public int add(ZxjStudentNationalGrant data);

    public int update(ZxjStudentNationalGrant data);

    public void delete(ZxjStudentNationalGrant data);

    public int validation(ZxjStudentNationalGrant data);

    /**
     * 
     * @param data
     * @return
     */
    public int queryPageListcount_bzr(ZxjStudentNationalGrant data);

    /**
     * 
     * @param data
     * @param rowBounds
     * @return
     */
    public List<ZxjStudentNationalGrant> queryPageList_bzr(ZxjStudentNationalGrant data,
                                                           RowBounds rowBounds);

    /**
     * 
     * @param data
     * @return
     */
    public ZxjStudentNationalGrant queryByPK_bzr(ZxjStudentNationalGrant data);

    /**
     * 
     * @param data
     * @return
     */
    public int queryPageListcount_admin(ZxjStudentNationalGrant data);

    /**
     * 
     * @param data
     * @param rowBounds
     * @return
     */
    public List<ZxjStudentNationalGrant> queryPageList_admin(ZxjStudentNationalGrant data,
                                                             RowBounds rowBounds);

    /**
     * 
     * @param data
     */
    public void auditList(ZxjStudentNationalGrant data);

    /**
     * 统计学生是否享受助学金
     * 
     * @param data
     * @return
     */

    int queryStudentNationalGrantCount(ZxjStudentNationalGrant data);

    /**
     * 
     * @param data
     * @return
     */
    public int audit(ZxjStudentNationalGrant data);

    /**
     * 
     * @param data
     * @return
     */
    public List<ZxjStudentNationalGrant> export(ZxjStudentNationalGrant data);
}
